﻿<%@ Page ContentType="application/rss+xml" Language="C#" AutoEventWireup="true" CodeBehind="rss.aspx.cs" Inherits="Web.rss" %>
<asp:repeater id="rptRSS" runat="server"> 
<HeaderTemplate><?xml version="1.0" encoding="utf-8"?> 
<?xml-stylesheet href="rss.xsl" type="text/xsl" media="all"?> 
<rss version="2.0" xmlns:slash="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 
 <channel> 
  <title>尚器设计创意有限公司</title> 
  <link>http://www.chingedesign.com/</link> 
  <description>尚器设计创意有限公司</description> 
  <copyright>copyright by chingedesign</copyright> 
</HeaderTemplate> 
<ItemTemplate>
  <item> 
   <title><![CDATA[<%# DataBinder.Eval(Container.DataItem, "Title") %>]]></title> 
   <category><![CDATA[<%# DataBinder.Eval(Container.DataItem, "CategoryName") %>]]></category>
   <description><![CDATA[<%# DataBinder.Eval(Container.DataItem, "NewsContent")%>]]></description> 
   <link>http://www.chingedesign.com/newsreading.aspx?id=<%# DataBinder.Eval(Container.DataItem, "NewsID") %></link> 
   <author>尚器设计</author> 
   <pubDate><%# String.Format("{0:R}", DataBinder.Eval(Container.DataItem,"PublishTime"))%></pubDate> 
   <guid>http://www.chingedesign.com/newsreading.aspx?id=<%# DataBinder.Eval(Container.DataItem, "NewsID") %></guid>
  </item>
</ItemTemplate> 

<FooterTemplate> 
 </channel> 
</rss> 
</FooterTemplate> 

</asp:repeater>
